<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";


%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网上投票系统的设计与实现</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/clock.js"></script>
<script type="text/javascript" src="js/common.js"></script>
</head>
<body>
<!--top-->
<div class="acc_top">
     <div class="acc_header">
      <h1><span style="font-weight: bold;font-size: 40px;">网上投票系统的设计与实现</span></h1>
     </div>
     <div class="acc_nav">

        <%@ include file="menu.jsp" %>

     </div>
 <!--站内搜索-->
 <div class="acc_search">
    <div class="dateinfo fl"  id="clock"></div>
    <script>
           //时间
	 var clock = new Clock();
	 clock.display(document.getElementById("clock"));
       </script>
      
 </div>
<!--/站内搜索-->
</div>
<!--/top-->

<!--main 主体开始-->
<div class="acc_main reg_main">
    <div class="reg_left fl">
      <div class="acc_map">当前位置：<a href=".">首页</a>><a href="indexmethod!pinxuan">在线投票</a>><a href="#" style="color:#1800ff;">${bean.ztitle }</a></div>
      <div class="detail_content">
                <h1>${bean.ztitle }</h1>
                 <div class="meta"> <span> <a href="indexmethod!xiangqing?id=${bean.id }" style="color:#1800ff;">　点击查看评选详情</a> </span></div>
                          <div class="meta"> <span>开始投票日期：${bean.stime } --结束投票日期：${bean.etime } </span></div>
                       
             <!--图文列表-->
               <div class="pic_text_box">
                   
                   <c:forEach items="${list}" var="ren">
                   
                   <div class="citem">
                      <div class="img">
                         <a href="indexmethod!renshow?id=${ren.id}"><img src="uploadfile/${ren.path }" height="270" width="280"></a>
                      </div>
                      <div align="left">
                      <h3>&nbsp;&nbsp;&nbsp;&nbsp;${ren.haoci }&nbsp;&nbsp; ${ren.xingming }&nbsp;&nbsp;${ren.keshi } 
                     
                     <br/>
                       <a href="indexmethod!renshow?id=${ren.id}" >简介</a>
                      
                       <a href="indexmethod!tp?renid=${ren.id}"  onclick="{if(confirm('确认投票吗?')){return true;}return false;}"> 点击投一票</a>
                      </h3>
                      <br/> <br/>
                      </div>
                     
                      
                  </div><!--单条数据-->
                  
                  </c:forEach>
                  
                   
           </div>
           </div>
      </div>
    </div>
  
</div>
<!--/main主体结束-->
<div class="clear"></div>
  <!--footer-->
    <div class="acc_footer">
           <table width="100%" border="0" cellpadding="0" cellspacing="0">
     <tbody>
        <tr>
            <td width="140px"> </td>
            <td>
               <div class="privatnost">
      
               </div>
               <p>网上投票系统的设计与实现版权所有　</p>
               
          </tr>
               </tbody>
            </table>  
    </div>
     <!--/footer-->
</body>
</html>

